package cn.hk.vaccination.service.impl;

import cn.hk.vaccination.domain.PlanOldInoculation;
import cn.hk.vaccination.mapper.PlanOldInoculationMapper;
import cn.hk.vaccination.service.PlanOldInoculationService;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 老年人接种计划管理表 服务实现类
 * </p>
 *
 * @author xu
 * @since 2023-03-10
 */
@Service
public class PlanOldInoculationServiceImpl extends ServiceImpl<PlanOldInoculationMapper, PlanOldInoculation> implements PlanOldInoculationService {

    @Autowired
    private PlanOldInoculationMapper planOldInoculationMapper;

    @Override
    public PlanOldInoculation getByPid(Long pid) {
        return planOldInoculationMapper.selectOneByPid(pid);
    }
}
